/**
 * Created by lenovo on 2016/3/12.
 */
package cc.openhome;
public class level2 {
    public static void main(String[] args) {
        int score =90;
        int quotient =score/10;
        char level;
        switch(quotient){
            case 10:
            case 9:
                level='A';
                break;
            case 8:
                level='B';
                break;
            default:
                level='C';
        }
        System.out.printf("得分等级：%c%n",level);
    }

}
